home *** CD-ROM | disk | FTP | other *** search
/ This Disc Bytes! / Power Computing - The Disc 2 - This Disc Bytes.ISO / mac / CodeWarrior 7 Lite for 68K / MacOS Support / Headers / Universal Headers / GXGraphics.h < prev    next >
Text File  |  1995-07-06  |  49KB  |  907 lines

  1. /*
  2.      File:        GXGraphics.h
  3.  
  4.      Contains:    QuickDraw GX graphic routine interfaces.
  5.  
  6.      Version:    Technology:    Quickdraw GX 1.1
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __GXGRAPHICS__
  21. #define __GXGRAPHICS__
  22.  
  23.  
  24. #ifndef __CONDITIONALMACROS__
  25. #include <ConditionalMacros.h>
  26. #endif
  27.  
  28. #ifndef __TYPES__
  29. #include <Types.h>
  30. #endif
  31.  
  32. #ifndef __GXERRORS__
  33. #include <GXErrors.h>
  34. #endif
  35. /*    #include <MixedMode.h>                                        */
  36. /*    #include <GXTypes.h>                                        */
  37. /*        #include <GXMath.h>                                        */
  38. /*            #include <FixMath.h>                                */
  39.  
  40. #ifndef __GXTYPES__
  41. #include <GXTypes.h>
  42. #endif
  43.  
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47.  
  48. #if PRAGMA_ALIGN_SUPPORTED
  49. #pragma options align=mac68k
  50. #endif
  51.  
  52. #if PRAGMA_IMPORT_SUPPORTED
  53. #pragma import on
  54. #endif
  55.  
  56. #if defined(__MWERKS__) && GENERATING68K
  57.     #pragma push
  58.     #pragma pointers_in_D0
  59. #endif
  60.  
  61. #define graphicsRoutinesIncludes
  62. /* old header = graphics routines */
  63.  
  64. extern gxGraphicsClient GXNewGraphicsClient(void *memoryStart, long memoryLength, gxClientAttribute attributes)
  65.  THREEWORDINLINE(0x303C, 0x59, 0xA832);
  66. extern gxGraphicsClient GXGetGraphicsClient(void)
  67.  THREEWORDINLINE(0x303C, 0x5a, 0xA832);
  68. extern void GXSetGraphicsClient(gxGraphicsClient client)
  69.  THREEWORDINLINE(0x303C, 0x5b, 0xA832);
  70. extern void GXDisposeGraphicsClient(gxGraphicsClient client)
  71.  THREEWORDINLINE(0x303C, 0x5c, 0xA832);
  72. /*returns the count */
  73. extern long GXGetGraphicsClients(long index, long count, gxGraphicsClient clients[])
  74.  THREEWORDINLINE(0x303C, 0x5e, 0xA832);
  75. extern void GXEnterGraphics(void)
  76.  THREEWORDINLINE(0x303C, 0x5f, 0xA832);
  77. extern void GXExitGraphics(void)
  78.  THREEWORDINLINE(0x303C, 0x60, 0xA832);
  79. extern gxGraphicsError GXGetGraphicsError(gxGraphicsError *stickyError)
  80.  THREEWORDINLINE(0x303C, 0x61, 0xA832);
  81. extern gxGraphicsNotice GXGetGraphicsNotice(gxGraphicsNotice *stickyNotice)
  82.  THREEWORDINLINE(0x303C, 0x62, 0xA832);
  83. extern gxGraphicsWarning GXGetGraphicsWarning(gxGraphicsWarning *stickyWarning)
  84.  THREEWORDINLINE(0x303C, 0x63, 0xA832);
  85. extern void GXPostGraphicsError(gxGraphicsError error)
  86.  THREEWORDINLINE(0x303C, 0x64, 0xA832);
  87. extern void GXPostGraphicsWarning(gxGraphicsWarning warning)
  88.  THREEWORDINLINE(0x303C, 0x66, 0xA832);
  89. extern gxUserErrorFunction GXGetUserGraphicsError(long *reference)
  90.  THREEWORDINLINE(0x303C, 0x67, 0xA832);
  91. extern gxUserNoticeFunction GXGetUserGraphicsNotice(long *reference)
  92.  THREEWORDINLINE(0x303C, 0x68, 0xA832);
  93. extern gxUserWarningFunction GXGetUserGraphicsWarning(long *reference)
  94.  THREEWORDINLINE(0x303C, 0x69, 0xA832);
  95. extern void GXSetUserGraphicsError(gxUserErrorFunction userFunction, long reference)
  96.  THREEWORDINLINE(0x303C, 0x6a, 0xA832);
  97. extern void GXSetUserGraphicsNotice(gxUserNoticeFunction userFunction, long reference)
  98.  THREEWORDINLINE(0x303C, 0x6b, 0xA832);
  99. extern void GXSetUserGraphicsWarning(gxUserWarningFunction userFunction, long reference)
  100.  THREEWORDINLINE(0x303C, 0x6c, 0xA832);
  101. extern void GXIgnoreGraphicsWarning(gxGraphicsWarning warning)
  102.  THREEWORDINLINE(0x303C, 0x6f, 0xA832);
  103. extern void GXPopGraphicsWarning(void)
  104.  THREEWORDINLINE(0x303C, 0x70, 0xA832);
  105. extern gxShape GXNewShapeVector(gxShapeType aType, const Fixed vector[])
  106.  THREEWORDINLINE(0x303C, 0x71, 0xA832);
  107. extern void GXSetShapeVector(gxShape target, const Fixed vector[])
  108.  THREEWORDINLINE(0x303C, 0x72, 0xA832);
  109. extern gxShape GXNewBitmap(const gxBitmap *data, const gxPoint *position)
  110.  THREEWORDINLINE(0x303C, 0x73, 0xA832);
  111. extern gxShape GXNewCurve(const gxCurve *data)
  112.  THREEWORDINLINE(0x303C, 0x74, 0xA832);
  113. extern gxShape GXNewGlyphs(long charCount, const unsigned char text[], const gxPoint positions[], const long advance[], const gxPoint tangents[], const short styleRuns[], const gxStyle glyphStyles[])
  114.  THREEWORDINLINE(0x303C, 0x75, 0xA832);
  115. extern gxShape GXNewLine(const gxLine *data)
  116.  THREEWORDINLINE(0x303C, 0x76, 0xA832);
  117. extern gxShape GXNewPaths(const gxPaths *data)
  118.  THREEWORDINLINE(0x303C, 0x77, 0xA832);
  119. extern gxShape GXNewPicture(long count, const gxShape shapes[], const gxStyle styles[], const gxInk inks[], const gxTransform transforms[])
  120.  THREEWORDINLINE(0x303C, 0x78, 0xA832);
  121. extern gxShape GXNewPoint(const gxPoint *data)
  122.  THREEWORDINLINE(0x303C, 0x79, 0xA832);
  123. extern gxShape GXNewPolygons(const gxPolygons *data)
  124.  THREEWORDINLINE(0x303C, 0x7a, 0xA832);
  125. extern gxShape GXNewRectangle(const gxRectangle *data)
  126.  THREEWORDINLINE(0x303C, 0x7b, 0xA832);
  127. extern gxShape GXNewText(long charCount, const unsigned char text[], const gxPoint *position)
  128.  THREEWORDINLINE(0x303C, 0x7c, 0xA832);
  129. extern gxBitmap *GXGetBitmap(gxShape source, gxBitmap *data, gxPoint *position)
  130.  THREEWORDINLINE(0x303C, 0x7d, 0xA832);
  131. extern gxCurve *GXGetCurve(gxShape source, gxCurve *data)
  132.  THREEWORDINLINE(0x303C, 0x7e, 0xA832);
  133. /* returns byte length of glyphs */
  134. extern long GXGetGlyphs(gxShape source, long *charCount, unsigned char text[], gxPoint positions[], long advance[], gxPoint tangents[], long *runCount, short styleRuns[], gxStyle glyphStyles[])
  135.  THREEWORDINLINE(0x303C, 0x7f, 0xA832);
  136. extern gxLine *GXGetLine(gxShape source, gxLine *data)
  137.  THREEWORDINLINE(0x303C, 0x80, 0xA832);
  138. /* returns byte length */
  139. extern long GXGetPaths(gxShape source, gxPaths *data)
  140.  THREEWORDINLINE(0x303C, 0x81, 0xA832);
  141. /* returns count */
  142. extern long GXGetPicture(gxShape source, gxShape shapes[], gxStyle styles[], gxInk inks[], gxTransform transforms[])
  143.  THREEWORDINLINE(0x303C, 0x82, 0xA832);
  144. extern gxPoint *GXGetPoint(gxShape source, gxPoint *data)
  145.  THREEWORDINLINE(0x303C, 0x83, 0xA832);
  146. /* returns byte length */
  147. extern long GXGetPolygons(gxShape source, gxPolygons *data)
  148.  THREEWORDINLINE(0x303C, 0x84, 0xA832);
  149. extern gxRectangle *GXGetRectangle(gxShape source, gxRectangle *data)
  150.  THREEWORDINLINE(0x303C, 0x85, 0xA832);
  151. /* returns byte length */
  152. extern long GXGetText(gxShape source, long *charCount, unsigned char text[], gxPoint *position)
  153.  THREEWORDINLINE(0x303C, 0x86, 0xA832);
  154. extern void GXSetBitmap(gxShape target, const gxBitmap *data, const gxPoint *position)
  155.  THREEWORDINLINE(0x303C, 0x87, 0xA832);
  156. extern void GXSetCurve(gxShape target, const gxCurve *data)
  157.  THREEWORDINLINE(0x303C, 0x88, 0xA832);
  158. extern void GXSetGlyphs(gxShape target, long charCount, const unsigned char text[], const gxPoint positions[], const long advance[], const gxPoint tangents[], const short styleRuns[], const gxStyle glyphStyles[])
  159.  THREEWORDINLINE(0x303C, 0x89, 0xA832);
  160. extern void GXSetLine(gxShape target, const gxLine *data)
  161.  THREEWORDINLINE(0x303C, 0x8a, 0xA832);
  162. extern void GXSetPaths(gxShape target, const gxPaths *data)
  163.  THREEWORDINLINE(0x303C, 0x8b, 0xA832);
  164. extern void GXSetPicture(gxShape target, long count, const gxShape shapes[], const gxStyle styles[], const gxInk inks[], const gxTransform transforms[])
  165.  THREEWORDINLINE(0x303C, 0x8c, 0xA832);
  166. extern void GXSetPoint(gxShape target, const gxPoint *data)
  167.  THREEWORDINLINE(0x303C, 0x8d, 0xA832);
  168. extern void GXSetPolygons(gxShape target, const gxPolygons *data)
  169.  THREEWORDINLINE(0x303C, 0x8e, 0xA832);
  170. extern void GXSetRectangle(gxShape target, const gxRectangle *data)
  171.  THREEWORDINLINE(0x303C, 0x8f, 0xA832);
  172. extern void GXSetText(gxShape target, long charCount, const unsigned char text[], const gxPoint *position)
  173.  THREEWORDINLINE(0x303C, 0x90, 0xA832);
  174. extern void GXDrawBitmap(const gxBitmap *data, const gxPoint *position)
  175.  THREEWORDINLINE(0x303C, 0x91, 0xA832);
  176. extern void GXDrawCurve(const gxCurve *data)
  177.  THREEWORDINLINE(0x303C, 0x92, 0xA832);
  178. extern void GXDrawGlyphs(long charCount, const unsigned char text[], const gxPoint positions[], const long advance[], const gxPoint tangents[], const short styleRuns[], const gxStyle glyphStyles[])
  179.  THREEWORDINLINE(0x303C, 0x93, 0xA832);
  180. extern void GXDrawLine(const gxLine *data)
  181.  THREEWORDINLINE(0x303C, 0x94, 0xA832);
  182. extern void GXDrawPaths(const gxPaths *data, gxShapeFill fill)
  183.  THREEWORDINLINE(0x303C, 0x95, 0xA832);
  184. extern void GXDrawPicture(long count, const gxShape shapes[], const gxStyle styles[], const gxInk inks[], const gxTransform transforms[])
  185.  THREEWORDINLINE(0x303C, 0x96, 0xA832);
  186. extern void GXDrawPoint(const gxPoint *data)
  187.  THREEWORDINLINE(0x303C, 0x97, 0xA832);
  188. extern void GXDrawPolygons(const gxPolygons *data, gxShapeFill fill)
  189.  THREEWORDINLINE(0x303C, 0x98, 0xA832);
  190. extern void GXDrawRectangle(const gxRectangle *data, gxShapeFill fill)
  191.  THREEWORDINLINE(0x303C, 0x99, 0xA832);
  192. extern void GXDrawText(long charCount, const unsigned char text[], const gxPoint *position)
  193.  THREEWORDINLINE(0x303C, 0x9a, 0xA832);
  194. extern gxColorProfile GXNewColorProfile(long size, void *colorProfileData)
  195.  THREEWORDINLINE(0x303C, 0x9b, 0xA832);
  196. extern gxColorSet GXNewColorSet(gxColorSpace space, long count, const gxSetColor colors[])
  197.  THREEWORDINLINE(0x303C, 0x9c, 0xA832);
  198. extern gxInk GXNewInk(void)
  199.  THREEWORDINLINE(0x303C, 0x9d, 0xA832);
  200. extern gxShape GXNewShape(gxShapeType aType)
  201.  THREEWORDINLINE(0x303C, 0x9e, 0xA832);
  202. extern gxStyle GXNewStyle(void)
  203.  THREEWORDINLINE(0x303C, 0x9f, 0xA832);
  204. extern gxTag GXNewTag(long tagType, long length, const void *data)
  205.  THREEWORDINLINE(0x303C, 0xa0, 0xA832);
  206. extern gxTransform GXNewTransform(void)
  207.  THREEWORDINLINE(0x303C, 0xa1, 0xA832);
  208. extern gxViewDevice GXNewViewDevice(gxViewGroup group, gxShape bitmapShape)
  209.  THREEWORDINLINE(0x303C, 0xa2, 0xA832);
  210. extern gxViewGroup GXNewViewGroup(void)
  211.  THREEWORDINLINE(0x303C, 0xa3, 0xA832);
  212. extern gxViewPort GXNewViewPort(gxViewGroup group)
  213.  THREEWORDINLINE(0x303C, 0xa4, 0xA832);
  214. extern void GXDisposeColorProfile(gxColorProfile target)
  215.  THREEWORDINLINE(0x303C, 0xa5, 0xA832);
  216. extern void GXDisposeColorSet(gxColorSet target)
  217.  THREEWORDINLINE(0x303C, 0xa6, 0xA832);
  218. extern void GXDisposeInk(gxInk target)
  219.  THREEWORDINLINE(0x303C, 0xa7, 0xA832);
  220. extern void GXDisposeShape(gxShape target)
  221.  THREEWORDINLINE(0x303C, 0xa8, 0xA832);
  222. extern void GXDisposeStyle(gxStyle target)
  223.  THREEWORDINLINE(0x303C, 0xa9, 0xA832);
  224. extern void GXDisposeTag(gxTag target)
  225.  THREEWORDINLINE(0x303C, 0xaa, 0xA832);
  226. extern void GXDisposeTransform(gxTransform target)
  227.  THREEWORDINLINE(0x303C, 0xab, 0xA832);
  228. extern void GXDisposeViewDevice(gxViewDevice target)
  229.  THREEWORDINLINE(0x303C, 0xac, 0xA832);
  230. extern void GXDisposeViewGroup(gxViewGroup target)
  231.  THREEWORDINLINE(0x303C, 0xad, 0xA832);
  232. extern void GXDisposeViewPort(gxViewPort target)
  233.  THREEWORDINLINE(0x303C, 0xae, 0xA832);
  234. extern gxColorProfile GXCloneColorProfile(gxColorProfile source)
  235.  THREEWORDINLINE(0x303C, 0xaf, 0xA832);
  236. extern gxColorSet GXCloneColorSet(gxColorSet source)
  237.  THREEWORDINLINE(0x303C, 0xb0, 0xA832);
  238. extern gxInk GXCloneInk(gxInk source)
  239.  THREEWORDINLINE(0x303C, 0xb1, 0xA832);
  240. extern gxShape GXCloneShape(gxShape source)
  241.  THREEWORDINLINE(0x303C, 0xb2, 0xA832);
  242. extern gxStyle GXCloneStyle(gxStyle source)
  243.  THREEWORDINLINE(0x303C, 0xb3, 0xA832);
  244. extern gxTag GXCloneTag(gxTag source)
  245.  THREEWORDINLINE(0x303C, 0xb4, 0xA832);
  246. extern gxTransform GXCloneTransform(gxTransform source)
  247.  THREEWORDINLINE(0x303C, 0xb5, 0xA832);
  248. extern gxColorProfile GXCopyToColorProfile(gxColorProfile target, gxColorProfile source)
  249.  THREEWORDINLINE(0x303C, 0xb6, 0xA832);
  250. extern gxColorSet GXCopyToColorSet(gxColorSet target, gxColorSet source)
  251.  THREEWORDINLINE(0x303C, 0xb7, 0xA832);
  252. extern gxInk GXCopyToInk(gxInk target, gxInk source)
  253.  THREEWORDINLINE(0x303C, 0xb8, 0xA832);
  254. extern gxShape GXCopyToShape(gxShape target, gxShape source)
  255.  THREEWORDINLINE(0x303C, 0xb9, 0xA832);
  256. extern gxStyle GXCopyToStyle(gxStyle target, gxStyle source)
  257.  THREEWORDINLINE(0x303C, 0xba, 0xA832);
  258. extern gxTag GXCopyToTag(gxTag target, gxTag source)
  259.  THREEWORDINLINE(0x303C, 0xbb, 0xA832);
  260. extern gxTransform GXCopyToTransform(gxTransform target, gxTransform source)
  261.  THREEWORDINLINE(0x303C, 0xbc, 0xA832);
  262. extern gxViewDevice GXCopyToViewDevice(gxViewDevice target, gxViewDevice source)
  263.  THREEWORDINLINE(0x303C, 0xbd, 0xA832);
  264. extern gxViewPort GXCopyToViewPort(gxViewPort target, gxViewPort source)
  265.  THREEWORDINLINE(0x303C, 0xbe, 0xA832);
  266. extern Boolean GXEqualColorProfile(gxColorProfile one, gxColorProfile two)
  267.  THREEWORDINLINE(0x303C, 0xbf, 0xA832);
  268. extern Boolean GXEqualColorSet(gxColorSet one, gxColorSet two)
  269.  THREEWORDINLINE(0x303C, 0xc0, 0xA832);
  270. extern Boolean GXEqualInk(gxInk one, gxInk two)
  271.  THREEWORDINLINE(0x303C, 0xc1, 0xA832);
  272. extern Boolean GXEqualShape(gxShape one, gxShape two)
  273.  THREEWORDINLINE(0x303C, 0xc2, 0xA832);
  274. extern Boolean GXEqualStyle(gxStyle one, gxStyle two)
  275.  THREEWORDINLINE(0x303C, 0xc3, 0xA832);
  276. extern Boolean GXEqualTag(gxTag one, gxTag two)
  277.  THREEWORDINLINE(0x303C, 0xc4, 0xA832);
  278. extern Boolean GXEqualTransform(gxTransform one, gxTransform two)
  279.  THREEWORDINLINE(0x303C, 0xc5, 0xA832);
  280. extern Boolean GXEqualViewDevice(gxViewDevice one, gxViewDevice two)
  281.  THREEWORDINLINE(0x303C, 0xc6, 0xA832);
  282. extern Boolean GXEqualViewPort(gxViewPort one, gxViewPort two)
  283.  THREEWORDINLINE(0x303C, 0xc7, 0xA832);
  284. extern void GXResetInk(gxInk target)
  285.  THREEWORDINLINE(0x303C, 0xc8, 0xA832);
  286. extern void GXResetShape(gxShape target)
  287.  THREEWORDINLINE(0x303C, 0xc9, 0xA832);
  288. extern void GXResetStyle(gxStyle target)
  289.  THREEWORDINLINE(0x303C, 0xca, 0xA832);
  290. extern void GXResetTransform(gxTransform target)
  291.  THREEWORDINLINE(0x303C, 0xcb, 0xA832);
  292. extern void GXLoadColorProfile(gxColorProfile target)
  293.  THREEWORDINLINE(0x303C, 0xcc, 0xA832);
  294. extern void GXLoadColorSet(gxColorSet target)
  295.  THREEWORDINLINE(0x303C, 0xcd, 0xA832);
  296. extern void GXLoadInk(gxInk target)
  297.  THREEWORDINLINE(0x303C, 0xce, 0xA832);
  298. extern void GXLoadShape(gxShape target)
  299.  THREEWORDINLINE(0x303C, 0xcf, 0xA832);
  300. extern void GXLoadStyle(gxStyle target)
  301.  THREEWORDINLINE(0x303C, 0xd0, 0xA832);
  302. extern void GXLoadTag(gxTag target)
  303.  THREEWORDINLINE(0x303C, 0xd1, 0xA832);
  304. extern void GXLoadTransform(gxTransform target)
  305.  THREEWORDINLINE(0x303C, 0xd2, 0xA832);
  306. extern void GXUnloadColorProfile(gxColorProfile target)
  307.  THREEWORDINLINE(0x303C, 0xd3, 0xA832);
  308. extern void GXUnloadColorSet(gxColorSet target)
  309.  THREEWORDINLINE(0x303C, 0xd4, 0xA832);
  310. extern void GXUnloadInk(gxInk target)
  311.  THREEWORDINLINE(0x303C, 0xd5, 0xA832);
  312. extern void GXUnloadShape(gxShape target)
  313.  THREEWORDINLINE(0x303C, 0xd6, 0xA832);
  314. extern void GXUnloadStyle(gxStyle target)
  315.  THREEWORDINLINE(0x303C, 0xd7, 0xA832);
  316. extern void GXUnloadTag(gxTag target)
  317.  THREEWORDINLINE(0x303C, 0xd8, 0xA832);
  318. extern void GXUnloadTransform(gxTransform target)
  319.  THREEWORDINLINE(0x303C, 0xd9, 0xA832);
  320. extern void GXCacheShape(gxShape source)
  321.  THREEWORDINLINE(0x303C, 0xda, 0xA832);
  322. extern gxShape GXCopyDeepToShape(gxShape target, gxShape source)
  323.  THREEWORDINLINE(0x303C, 0xdb, 0xA832);
  324. extern void GXDrawShape(gxShape source)
  325.  THREEWORDINLINE(0x303C, 0xdc, 0xA832);
  326. extern void GXDisposeShapeCache(gxShape target)
  327.  THREEWORDINLINE(0x303C, 0xdd, 0xA832);
  328. extern gxColorProfile GXGetDefaultColorProfile(void)
  329.  THREEWORDINLINE(0x303C, 0xde, 0xA832);
  330. extern gxShape GXGetDefaultShape(gxShapeType aType)
  331.  THREEWORDINLINE(0x303C, 0xdf, 0xA832);
  332. extern gxColorSet GXGetDefaultColorSet(long pixelDepth)
  333.  THREEWORDINLINE(0x303C, 0xe0, 0xA832);
  334. extern void GXSetDefaultShape(gxShape target)
  335.  THREEWORDINLINE(0x303C, 0xe1, 0xA832);
  336. extern void GXSetDefaultColorSet(gxColorSet target, long pixelDepth)
  337.  THREEWORDINLINE(0x303C, 0xe2, 0xA832);
  338. extern long GXGetTag(gxTag source, long *tagType, void *data)
  339.  THREEWORDINLINE(0x303C, 0xe3, 0xA832);
  340. extern void GXSetTag(gxTag target, long tagType, long length, const void *data)
  341.  THREEWORDINLINE(0x303C, 0xe4, 0xA832);
  342. extern gxRectangle *GXGetShapeBounds(gxShape source, long index, gxRectangle *bounds)
  343.  THREEWORDINLINE(0x303C, 0xe5, 0xA832);
  344. extern gxShapeFill GXGetShapeFill(gxShape source)
  345.  THREEWORDINLINE(0x303C, 0xe6, 0xA832);
  346. extern gxInk GXGetShapeInk(gxShape source)
  347.  THREEWORDINLINE(0x303C, 0xe7, 0xA832);
  348. extern long GXGetShapePixel(gxShape source, long x, long y, gxColor *data, long *index)
  349.  THREEWORDINLINE(0x303C, 0xe8, 0xA832);
  350. extern gxStyle GXGetShapeStyle(gxShape source)
  351.  THREEWORDINLINE(0x303C, 0xe9, 0xA832);
  352. extern gxTransform GXGetShapeTransform(gxShape source)
  353.  THREEWORDINLINE(0x303C, 0xea, 0xA832);
  354. extern gxShapeType GXGetShapeType(gxShape source)
  355.  THREEWORDINLINE(0x303C, 0xeb, 0xA832);
  356. extern gxRectangle *GXGetShapeTypographicBounds(gxShape source, gxRectangle *bounds)
  357.  THREEWORDINLINE(0x303C, 0xec, 0xA832);
  358. extern gxShape GXGetBitmapParts(gxShape source, const gxLongRectangle *bounds)
  359.  THREEWORDINLINE(0x303C, 0xed, 0xA832);
  360. extern void GXGetStyleFontMetrics(gxStyle sourceStyle, gxPoint *before, gxPoint *after, gxPoint *caretAngle, gxPoint *caretOffset)
  361.  THREEWORDINLINE(0x303C, 0xee, 0xA832);
  362. extern void GXGetShapeFontMetrics(gxShape source, gxPoint *before, gxPoint *after, gxPoint *caretAngle, gxPoint *caretOffset)
  363.  THREEWORDINLINE(0x303C, 0xef, 0xA832);
  364. extern void GXSetShapeBounds(gxShape target, const gxRectangle *newBounds)
  365.  THREEWORDINLINE(0x303C, 0xf0, 0xA832);
  366. extern void GXSetShapeFill(gxShape target, gxShapeFill newFill)
  367.  THREEWORDINLINE(0x303C, 0xf1, 0xA832);
  368. extern void GXSetShapeInk(gxShape target, gxInk newInk)
  369.  THREEWORDINLINE(0x303C, 0xf2, 0xA832);
  370. extern void GXSetShapePixel(gxShape target, long x, long y, const gxColor *newColor, long newIndex)
  371.  THREEWORDINLINE(0x303C, 0xf3, 0xA832);
  372. extern void GXSetShapeStyle(gxShape target, gxStyle newStyle)
  373.  THREEWORDINLINE(0x303C, 0xf4, 0xA832);
  374. extern void GXSetShapeTransform(gxShape target, gxTransform newTransform)
  375.  THREEWORDINLINE(0x303C, 0xf5, 0xA832);
  376. extern void GXSetShapeType(gxShape target, gxShapeType newType)
  377.  THREEWORDINLINE(0x303C, 0xf6, 0xA832);
  378. extern void GXSetBitmapParts(gxShape target, const gxLongRectangle *bounds, gxShape bitmapShape)
  379.  THREEWORDINLINE(0x303C, 0xf7, 0xA832);
  380. extern void GXSetShapeGeometry(gxShape target, gxShape geometry)
  381.  THREEWORDINLINE(0x303C, 0xf8, 0xA832);
  382. extern Fixed GXGetShapeCurveError(gxShape source)
  383.  THREEWORDINLINE(0x303C, 0xf9, 0xA832);
  384. extern gxDashRecord *GXGetShapeDash(gxShape source, gxDashRecord *dash)
  385.  THREEWORDINLINE(0x303C, 0xfa, 0xA832);
  386. extern gxCapRecord *GXGetShapeCap(gxShape source, gxCapRecord *cap)
  387.  THREEWORDINLINE(0x303C, 0xfb, 0xA832);
  388. /* returns the number of layers */
  389. extern long GXGetShapeFace(gxShape source, gxTextFace *face)
  390.  THREEWORDINLINE(0x303C, 0xfc, 0xA832);
  391. extern gxFont GXGetShapeFont(gxShape source)
  392.  THREEWORDINLINE(0x303C, 0xfd, 0xA832);
  393. extern gxJoinRecord *GXGetShapeJoin(gxShape source, gxJoinRecord *join)
  394.  THREEWORDINLINE(0x303C, 0xfe, 0xA832);
  395. extern Fract GXGetShapeJustification(gxShape source)
  396.  THREEWORDINLINE(0x303C, 0xff, 0xA832);
  397. extern gxPatternRecord *GXGetShapePattern(gxShape source, gxPatternRecord *pattern)
  398.  THREEWORDINLINE(0x303C, 0x100, 0xA832);
  399. extern Fixed GXGetShapePen(gxShape source)
  400.  THREEWORDINLINE(0x303C, 0x101, 0xA832);
  401. extern gxFontPlatform GXGetShapeEncoding(gxShape source, gxFontScript *script, gxFontLanguage *language)
  402.  THREEWORDINLINE(0x303C, 0x102, 0xA832);
  403. extern Fixed GXGetShapeTextSize(gxShape source)
  404.  THREEWORDINLINE(0x303C, 0x103, 0xA832);
  405. extern long GXGetShapeFontVariations(gxShape source, gxFontVariation variations[])
  406.  THREEWORDINLINE(0x303C, 0x104, 0xA832);
  407. extern long GXGetShapeFontVariationSuite(gxShape source, gxFontVariation variations[])
  408.  THREEWORDINLINE(0x303C, 0x105, 0xA832);
  409. extern Fixed GXGetStyleCurveError(gxStyle source)
  410.  THREEWORDINLINE(0x303C, 0x106, 0xA832);
  411. extern gxDashRecord *GXGetStyleDash(gxStyle source, gxDashRecord *dash)
  412.  THREEWORDINLINE(0x303C, 0x107, 0xA832);
  413. extern gxCapRecord *GXGetStyleCap(gxStyle source, gxCapRecord *cap)
  414.  THREEWORDINLINE(0x303C, 0x108, 0xA832);
  415. /* returns the number of layers */
  416. extern long GXGetStyleFace(gxStyle source, gxTextFace *face)
  417.  THREEWORDINLINE(0x303C, 0x109, 0xA832);
  418. extern gxFont GXGetStyleFont(gxStyle source)
  419.  THREEWORDINLINE(0x303C, 0x10a, 0xA832);
  420. extern gxJoinRecord *GXGetStyleJoin(gxStyle source, gxJoinRecord *join)
  421.  THREEWORDINLINE(0x303C, 0x10b, 0xA832);
  422. extern Fract GXGetStyleJustification(gxStyle source)
  423.  THREEWORDINLINE(0x303C, 0x10c, 0xA832);
  424. extern gxPatternRecord *GXGetStylePattern(gxStyle source, gxPatternRecord *pattern)
  425.  THREEWORDINLINE(0x303C, 0x10d, 0xA832);
  426. extern Fixed GXGetStylePen(gxStyle source)
  427.  THREEWORDINLINE(0x303C, 0x10e, 0xA832);
  428. extern gxFontPlatform GXGetStyleEncoding(gxStyle source, gxFontScript *script, gxFontLanguage *language)
  429.  THREEWORDINLINE(0x303C, 0x10f, 0xA832);
  430. extern Fixed GXGetStyleTextSize(gxStyle source)
  431.  THREEWORDINLINE(0x303C, 0x110, 0xA832);
  432. extern long GXGetStyleFontVariations(gxStyle source, gxFontVariation variations[])
  433.  THREEWORDINLINE(0x303C, 0x111, 0xA832);
  434. extern long GXGetStyleFontVariationSuite(gxStyle source, gxFontVariation variations[])
  435.  THREEWORDINLINE(0x303C, 0x112, 0xA832);
  436. extern void GXSetShapeCurveError(gxShape target, Fixed error)
  437.  THREEWORDINLINE(0x303C, 0x113, 0xA832);
  438. extern void GXSetShapeDash(gxShape target, const gxDashRecord *dash)
  439.  THREEWORDINLINE(0x303C, 0x114, 0xA832);
  440. extern void GXSetShapeCap(gxShape target, const gxCapRecord *cap)
  441.  THREEWORDINLINE(0x303C, 0x115, 0xA832);
  442. extern void GXSetShapeFace(gxShape target, const gxTextFace *face)
  443.  THREEWORDINLINE(0x303C, 0x116, 0xA832);
  444. extern void GXSetShapeFont(gxShape target, gxFont aFont)
  445.  THREEWORDINLINE(0x303C, 0x117, 0xA832);
  446. extern void GXSetShapeJoin(gxShape target, const gxJoinRecord *join)
  447.  THREEWORDINLINE(0x303C, 0x118, 0xA832);
  448. extern void GXSetShapeJustification(gxShape target, Fract justify)
  449.  THREEWORDINLINE(0x303C, 0x119, 0xA832);
  450. extern void GXSetShapePattern(gxShape target, const gxPatternRecord *pattern)
  451.  THREEWORDINLINE(0x303C, 0x11a, 0xA832);
  452. extern void GXSetShapePen(gxShape target, Fixed pen)
  453.  THREEWORDINLINE(0x303C, 0x11b, 0xA832);
  454. extern void GXSetShapeEncoding(gxShape target, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
  455.  THREEWORDINLINE(0x303C, 0x11c, 0xA832);
  456. extern void GXSetShapeTextSize(gxShape target, Fixed size)
  457.  THREEWORDINLINE(0x303C, 0x11d, 0xA832);
  458. extern void GXSetShapeFontVariations(gxShape target, long count, const gxFontVariation variations[])
  459.  THREEWORDINLINE(0x303C, 0x11e, 0xA832);
  460. extern void GXSetStyleCurveError(gxStyle target, Fixed error)
  461.  THREEWORDINLINE(0x303C, 0x11f, 0xA832);
  462. extern void GXSetStyleDash(gxStyle target, const gxDashRecord *dash)
  463.  THREEWORDINLINE(0x303C, 0x120, 0xA832);
  464. extern void GXSetStyleCap(gxStyle target, const gxCapRecord *cap)
  465.  THREEWORDINLINE(0x303C, 0x121, 0xA832);
  466. extern void GXSetStyleFace(gxStyle target, const gxTextFace *face)
  467.  THREEWORDINLINE(0x303C, 0x122, 0xA832);
  468. extern void GXSetStyleFont(gxStyle target, gxFont aFont)
  469.  THREEWORDINLINE(0x303C, 0x123, 0xA832);
  470. extern void GXSetStyleJoin(gxStyle target, const gxJoinRecord *join)
  471.  THREEWORDINLINE(0x303C, 0x124, 0xA832);
  472. extern void GXSetStyleJustification(gxStyle target, Fract justify)
  473.  THREEWORDINLINE(0x303C, 0x125, 0xA832);
  474. extern void GXSetStylePattern(gxStyle target, const gxPatternRecord *pattern)
  475.  THREEWORDINLINE(0x303C, 0x126, 0xA832);
  476. extern void GXSetStylePen(gxStyle target, Fixed pen)
  477.  THREEWORDINLINE(0x303C, 0x127, 0xA832);
  478. extern void GXSetStyleEncoding(gxStyle target, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
  479.  THREEWORDINLINE(0x303C, 0x128, 0xA832);
  480. extern void GXSetStyleTextSize(gxStyle target, Fixed size)
  481.  THREEWORDINLINE(0x303C, 0x129, 0xA832);
  482. extern void GXSetStyleFontVariations(gxStyle target, long count, const gxFontVariation variations[])
  483.  THREEWORDINLINE(0x303C, 0x12a, 0xA832);
  484. extern gxColor *GXGetShapeColor(gxShape source, gxColor *data)
  485.  THREEWORDINLINE(0x303C, 0x12b, 0xA832);
  486. extern gxTransferMode *GXGetShapeTransfer(gxShape source, gxTransferMode *data)
  487.  THREEWORDINLINE(0x303C, 0x12c, 0xA832);
  488. extern gxColor *GXGetInkColor(gxInk source, gxColor *data)
  489.  THREEWORDINLINE(0x303C, 0x12d, 0xA832);
  490. extern gxTransferMode *GXGetInkTransfer(gxInk source, gxTransferMode *data)
  491.  THREEWORDINLINE(0x303C, 0x12e, 0xA832);
  492. extern void GXSetShapeColor(gxShape target, const gxColor *data)
  493.  THREEWORDINLINE(0x303C, 0x12f, 0xA832);
  494. extern void GXSetShapeTransfer(gxShape target, const gxTransferMode *data)
  495.  THREEWORDINLINE(0x303C, 0x130, 0xA832);
  496. extern void GXSetInkColor(gxInk target, const gxColor *data)
  497.  THREEWORDINLINE(0x303C, 0x131, 0xA832);
  498. extern void GXSetInkTransfer(gxInk target, const gxTransferMode *data)
  499.  THREEWORDINLINE(0x303C, 0x132, 0xA832);
  500. extern gxShape GXGetShapeClip(gxShape source)
  501.  THREEWORDINLINE(0x303C, 0x133, 0xA832);
  502. extern gxShapeType GXGetShapeClipType(gxShape source)
  503.  THREEWORDINLINE(0x303C, 0x276, 0xA832);
  504. extern gxMapping *GXGetShapeMapping(gxShape source, gxMapping *map)
  505.  THREEWORDINLINE(0x303C, 0x134, 0xA832);
  506. extern gxShapePart GXGetShapeHitTest(gxShape source, Fixed *tolerance)
  507.  THREEWORDINLINE(0x303C, 0x135, 0xA832);
  508. extern long GXGetShapeViewPorts(gxShape source, gxViewPort list[])
  509.  THREEWORDINLINE(0x303C, 0x136, 0xA832);
  510. extern gxShape GXGetTransformClip(gxTransform source)
  511.  THREEWORDINLINE(0x303C, 0x137, 0xA832);
  512. extern gxShapeType GXGetTransformClipType(gxTransform source)
  513.  THREEWORDINLINE(0x303C, 0x277, 0xA832);
  514. extern gxMapping *GXGetTransformMapping(gxTransform source, gxMapping *map)
  515.  THREEWORDINLINE(0x303C, 0x138, 0xA832);
  516. extern gxShapePart GXGetTransformHitTest(gxTransform source, Fixed *tolerance)
  517.  THREEWORDINLINE(0x303C, 0x139, 0xA832);
  518. extern long GXGetTransformViewPorts(gxTransform source, gxViewPort list[])
  519.  THREEWORDINLINE(0x303C, 0x13a, 0xA832);
  520. extern void GXSetShapeClip(gxShape target, gxShape clip)
  521.  THREEWORDINLINE(0x303C, 0x13b, 0xA832);
  522. extern void GXSetShapeMapping(gxShape target, const gxMapping *map)
  523.  THREEWORDINLINE(0x303C, 0x13c, 0xA832);
  524. extern void GXSetShapeHitTest(gxShape target, gxShapePart mask, Fixed tolerance)
  525.  THREEWORDINLINE(0x303C, 0x13d, 0xA832);
  526. extern void GXSetShapeViewPorts(gxShape target, long count, const gxViewPort list[])
  527.  THREEWORDINLINE(0x303C, 0x13e, 0xA832);
  528. extern void GXSetTransformClip(gxTransform target, gxShape clip)
  529.  THREEWORDINLINE(0x303C, 0x13f, 0xA832);
  530. extern void GXSetTransformMapping(gxTransform target, const gxMapping *map)
  531.  THREEWORDINLINE(0x303C, 0x140, 0xA832);
  532. extern void GXSetTransformHitTest(gxTransform target, gxShapePart mask, Fixed tolerance)
  533.  THREEWORDINLINE(0x303C, 0x141, 0xA832);
  534. extern void GXSetTransformViewPorts(gxTransform target, long count, const gxViewPort list[])
  535.  THREEWORDINLINE(0x303C, 0x142, 0xA832);
  536. extern long GXGetColorSet(gxColorSet source, gxColorSpace *space, gxSetColor colors[])
  537.  THREEWORDINLINE(0x303C, 0x143, 0xA832);
  538. extern long GXGetColorProfile(gxColorProfile source, void *colorProfileData)
  539.  THREEWORDINLINE(0x303C, 0x144, 0xA832);
  540. extern void GXSetColorSet(gxColorSet target, gxColorSpace space, long count, const gxSetColor colors[])
  541.  THREEWORDINLINE(0x303C, 0x145, 0xA832);
  542. extern void GXSetColorProfile(gxColorProfile target, long size, void *colorProfileData)
  543.  THREEWORDINLINE(0x303C, 0x146, 0xA832);
  544. extern gxShape GXGetViewDeviceBitmap(gxViewDevice source)
  545.  THREEWORDINLINE(0x303C, 0x147, 0xA832);
  546. extern gxShape GXGetViewDeviceClip(gxViewDevice source)
  547.  THREEWORDINLINE(0x303C, 0x148, 0xA832);
  548. extern gxMapping *GXGetViewDeviceMapping(gxViewDevice source, gxMapping *map)
  549.  THREEWORDINLINE(0x303C, 0x149, 0xA832);
  550. extern gxViewGroup GXGetViewDeviceViewGroup(gxViewDevice source)
  551.  THREEWORDINLINE(0x303C, 0x14a, 0xA832);
  552. extern void GXSetViewDeviceBitmap(gxViewDevice target, gxShape bitmapShape)
  553.  THREEWORDINLINE(0x303C, 0x14b, 0xA832);
  554. extern void GXSetViewDeviceClip(gxViewDevice target, gxShape clip)
  555.  THREEWORDINLINE(0x303C, 0x14c, 0xA832);
  556. extern void GXSetViewDeviceMapping(gxViewDevice target, const gxMapping *map)
  557.  THREEWORDINLINE(0x303C, 0x14d, 0xA832);
  558. extern void GXSetViewDeviceViewGroup(gxViewDevice target, gxViewGroup group)
  559.  THREEWORDINLINE(0x303C, 0x14e, 0xA832);
  560. extern long GXGetViewPortChildren(gxViewPort source, gxViewPort list[])
  561.  THREEWORDINLINE(0x303C, 0x14f, 0xA832);
  562. extern gxShape GXGetViewPortClip(gxViewPort source)
  563.  THREEWORDINLINE(0x303C, 0x150, 0xA832);
  564. extern long GXGetViewPortDither(gxViewPort source)
  565.  THREEWORDINLINE(0x303C, 0x151, 0xA832);
  566. extern Boolean GXGetViewPortHalftone(gxViewPort source, gxHalftone *data)
  567.  THREEWORDINLINE(0x303C, 0x152, 0xA832);
  568. extern gxMapping *GXGetViewPortMapping(gxViewPort source, gxMapping *map)
  569.  THREEWORDINLINE(0x303C, 0x153, 0xA832);
  570. extern gxViewPort GXGetViewPortParent(gxViewPort source)
  571.  THREEWORDINLINE(0x303C, 0x154, 0xA832);
  572. extern gxViewGroup GXGetViewPortViewGroup(gxViewPort source)
  573.  THREEWORDINLINE(0x303C, 0x155, 0xA832);
  574. extern long GXGetViewPortHalftoneMatrix(gxViewPort source, gxViewDevice sourceDevice, gxHalftoneMatrix *theMatrix)
  575.  THREEWORDINLINE(0x303C, 0x273, 0xA832);
  576. extern void GXSetViewPortChildren(gxViewPort target, long count, const gxViewPort list[])
  577.  THREEWORDINLINE(0x303C, 0x156, 0xA832);
  578. extern void GXSetViewPortClip(gxViewPort target, gxShape clip)
  579.  THREEWORDINLINE(0x303C, 0x157, 0xA832);
  580. extern void GXSetViewPortDither(gxViewPort target, long level)
  581.  THREEWORDINLINE(0x303C, 0x158, 0xA832);
  582. extern void GXSetViewPortHalftone(gxViewPort target, const gxHalftone *data)
  583.  THREEWORDINLINE(0x303C, 0x159, 0xA832);
  584. extern void GXSetViewPortMapping(gxViewPort target, const gxMapping *map)
  585.  THREEWORDINLINE(0x303C, 0x15a, 0xA832);
  586. extern void GXSetViewPortParent(gxViewPort target, gxViewPort parent)
  587.  THREEWORDINLINE(0x303C, 0x15b, 0xA832);
  588. extern void GXSetViewPortViewGroup(gxViewPort target, gxViewGroup group)
  589.  THREEWORDINLINE(0x303C, 0x15c, 0xA832);
  590. extern long GXGetColorProfileTags(gxColorProfile source, long tagType, long index, long count, gxTag items[])
  591.  THREEWORDINLINE(0x303C, 0x15d, 0xA832);
  592. extern long GXGetColorSetTags(gxColorSet source, long tagType, long index, long count, gxTag items[])
  593.  THREEWORDINLINE(0x303C, 0x15e, 0xA832);
  594. extern long GXGetInkTags(gxInk source, long tagType, long index, long count, gxTag items[])
  595.  THREEWORDINLINE(0x303C, 0x15f, 0xA832);
  596. extern long GXGetShapeTags(gxShape source, long tagType, long index, long count, gxTag items[])
  597.  THREEWORDINLINE(0x303C, 0x160, 0xA832);
  598. extern long GXGetStyleTags(gxStyle source, long tagType, long index, long count, gxTag items[])
  599.  THREEWORDINLINE(0x303C, 0x161, 0xA832);
  600. extern long GXGetTransformTags(gxTransform source, long tagType, long index, long count, gxTag items[])
  601.  THREEWORDINLINE(0x303C, 0x162, 0xA832);
  602. extern long GXGetViewDeviceTags(gxViewDevice source, long tagType, long index, long count, gxTag items[])
  603.  THREEWORDINLINE(0x303C, 0x163, 0xA832);
  604. extern long GXGetViewPortTags(gxViewPort source, long tagType, long index, long count, gxTag items[])
  605.  THREEWORDINLINE(0x303C, 0x164, 0xA832);
  606. extern void GXSetColorProfileTags(gxColorProfile target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  607.  THREEWORDINLINE(0x303C, 0x165, 0xA832);
  608. extern void GXSetColorSetTags(gxColorSet target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  609.  THREEWORDINLINE(0x303C, 0x166, 0xA832);
  610. extern void GXSetInkTags(gxInk target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  611.  THREEWORDINLINE(0x303C, 0x167, 0xA832);
  612. extern void GXSetShapeTags(gxShape target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  613.  THREEWORDINLINE(0x303C, 0x168, 0xA832);
  614. extern void GXSetStyleTags(gxStyle target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  615.  THREEWORDINLINE(0x303C, 0x169, 0xA832);
  616. extern void GXSetTransformTags(gxTransform target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  617.  THREEWORDINLINE(0x303C, 0x16a, 0xA832);
  618. extern void GXSetViewDeviceTags(gxViewDevice target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  619.  THREEWORDINLINE(0x303C, 0x16b, 0xA832);
  620. extern void GXSetViewPortTags(gxViewPort target, long tagType, long index, long oldCount, long newCount, const gxTag items[])
  621.  THREEWORDINLINE(0x303C, 0x16c, 0xA832);
  622. extern gxInkAttribute GXGetInkAttributes(gxInk source)
  623.  THREEWORDINLINE(0x303C, 0x16d, 0xA832);
  624. extern gxShapeAttribute GXGetShapeAttributes(gxShape source)
  625.  THREEWORDINLINE(0x303C, 0x16e, 0xA832);
  626. extern gxInkAttribute GXGetShapeInkAttributes(gxShape source)
  627.  THREEWORDINLINE(0x303C, 0x16f, 0xA832);
  628. extern gxStyleAttribute GXGetShapeStyleAttributes(gxShape source)
  629.  THREEWORDINLINE(0x303C, 0x170, 0xA832);
  630. extern gxStyleAttribute GXGetStyleAttributes(gxStyle source)
  631.  THREEWORDINLINE(0x303C, 0x171, 0xA832);
  632. extern gxTextAttribute GXGetShapeTextAttributes(gxShape source)
  633.  THREEWORDINLINE(0x303C, 0x172, 0xA832);
  634. extern gxTextAttribute GXGetStyleTextAttributes(gxStyle source)
  635.  THREEWORDINLINE(0x303C, 0x173, 0xA832);
  636. extern gxDeviceAttribute GXGetViewDeviceAttributes(gxViewDevice source)
  637.  THREEWORDINLINE(0x303C, 0x174, 0xA832);
  638. extern gxPortAttribute GXGetViewPortAttributes(gxViewPort source)
  639.  THREEWORDINLINE(0x303C, 0x175, 0xA832);
  640. extern void GXSetInkAttributes(gxInk target, gxInkAttribute attributes)
  641.  THREEWORDINLINE(0x303C, 0x176, 0xA832);
  642. extern void GXSetShapeAttributes(gxShape target, gxShapeAttribute attributes)
  643.  THREEWORDINLINE(0x303C, 0x177, 0xA832);
  644. extern void GXSetShapeInkAttributes(gxShape target, gxInkAttribute attributes)
  645.  THREEWORDINLINE(0x303C, 0x178, 0xA832);
  646. extern void GXSetShapeStyleAttributes(gxShape target, gxStyleAttribute attributes)
  647.  THREEWORDINLINE(0x303C, 0x179, 0xA832);
  648. extern void GXSetStyleAttributes(gxStyle target, gxStyleAttribute attributes)
  649.  THREEWORDINLINE(0x303C, 0x17a, 0xA832);
  650. extern void GXSetShapeTextAttributes(gxShape target, gxTextAttribute attributes)
  651.  THREEWORDINLINE(0x303C, 0x17b, 0xA832);
  652. extern void GXSetStyleTextAttributes(gxStyle target, gxTextAttribute attributes)
  653.  THREEWORDINLINE(0x303C, 0x17c, 0xA832);
  654. extern void GXSetViewDeviceAttributes(gxViewDevice target, gxDeviceAttribute attributes)
  655.  THREEWORDINLINE(0x303C, 0x17d, 0xA832);
  656. extern void GXSetViewPortAttributes(gxViewPort target, gxPortAttribute attributes)
  657.  THREEWORDINLINE(0x303C, 0x17e, 0xA832);
  658. extern long GXGetColorProfileOwners(gxColorProfile source)
  659.  THREEWORDINLINE(0x303C, 0x17f, 0xA832);
  660. extern long GXGetColorSetOwners(gxColorSet source)
  661.  THREEWORDINLINE(0x303C, 0x180, 0xA832);
  662. extern long GXGetInkOwners(gxInk source)
  663.  THREEWORDINLINE(0x303C, 0x181, 0xA832);
  664. extern long GXGetShapeOwners(gxShape source)
  665.  THREEWORDINLINE(0x303C, 0x182, 0xA832);
  666. extern long GXGetStyleOwners(gxStyle source)
  667.  THREEWORDINLINE(0x303C, 0x183, 0xA832);
  668. extern long GXGetTagOwners(gxTag source)
  669.  THREEWORDINLINE(0x303C, 0x184, 0xA832);
  670. extern long GXGetTransformOwners(gxTransform source)
  671.  THREEWORDINLINE(0x303C, 0x185, 0xA832);
  672. extern void GXLockShape(gxShape target)
  673.  THREEWORDINLINE(0x303C, 0x186, 0xA832);
  674. extern void GXLockTag(gxTag target)
  675.  THREEWORDINLINE(0x303C, 0x187, 0xA832);
  676. extern void GXUnlockShape(gxShape target)
  677.  THREEWORDINLINE(0x303C, 0x188, 0xA832);
  678. extern void GXUnlockTag(gxTag target)
  679.  THREEWORDINLINE(0x303C, 0x189, 0xA832);
  680. extern void *GXGetShapeStructure(gxShape source, long *length)
  681.  THREEWORDINLINE(0x303C, 0x18a, 0xA832);
  682. extern void *GXGetTagStructure(gxTag source, long *length)
  683.  THREEWORDINLINE(0x303C, 0x18b, 0xA832);
  684. extern Fixed GXGetColorDistance(const gxColor *target, const gxColor *source)
  685.  THREEWORDINLINE(0x303C, 0x18c, 0xA832);
  686. extern gxPoint *GXShapeLengthToPoint(gxShape target, long index, Fixed length, gxPoint *location, gxPoint *tangent)
  687.  THREEWORDINLINE(0x303C, 0x18d, 0xA832);
  688. extern wide *GXGetShapeArea(gxShape source, long index, wide *area)
  689.  THREEWORDINLINE(0x303C, 0x18e, 0xA832);
  690. extern long GXGetShapeCacheSize(gxShape source)
  691.  THREEWORDINLINE(0x303C, 0x18f, 0xA832);
  692. extern gxPoint *GXGetShapeCenter(gxShape source, long index, gxPoint *center)
  693.  THREEWORDINLINE(0x303C, 0x190, 0xA832);
  694. extern gxContourDirection GXGetShapeDirection(gxShape source, long contour)
  695.  THREEWORDINLINE(0x303C, 0x191, 0xA832);
  696. extern long GXGetShapeIndex(gxShape source, long contour, long vector)
  697.  THREEWORDINLINE(0x303C, 0x192, 0xA832);
  698. extern wide *GXGetShapeLength(gxShape source, long index, wide *length)
  699.  THREEWORDINLINE(0x303C, 0x193, 0xA832);
  700. extern long GXGetShapeSize(gxShape source)
  701.  THREEWORDINLINE(0x303C, 0x194, 0xA832);
  702. extern long GXCountShapeContours(gxShape source)
  703.  THREEWORDINLINE(0x303C, 0x195, 0xA832);
  704. extern long GXCountShapePoints(gxShape source, long contour)
  705.  THREEWORDINLINE(0x303C, 0x196, 0xA832);
  706. /* returns the number of positions */
  707. extern long GXGetShapeDashPositions(gxShape source, gxMapping dashMappings[])
  708.  THREEWORDINLINE(0x303C, 0x197, 0xA832);
  709. extern long GXGetShapeDeviceArea(gxShape source, gxViewPort port, gxViewDevice device)
  710.  THREEWORDINLINE(0x303C, 0x198, 0xA832);
  711. extern Boolean GXGetShapeDeviceBounds(gxShape source, gxViewPort port, gxViewDevice device, gxRectangle *bounds)
  712.  THREEWORDINLINE(0x303C, 0x199, 0xA832);
  713. extern gxColorSet GXGetShapeDeviceColors(gxShape source, gxViewPort port, gxViewDevice device, long *width)
  714.  THREEWORDINLINE(0x303C, 0x19a, 0xA832);
  715. extern Boolean GXGetShapeGlobalBounds(gxShape source, gxViewPort port, gxViewGroup group, gxRectangle *bounds)
  716.  THREEWORDINLINE(0x303C, 0x19b, 0xA832);
  717. extern long GXGetShapeGlobalViewDevices(gxShape source, gxViewPort port, gxViewDevice list[])
  718.  THREEWORDINLINE(0x303C, 0x19c, 0xA832);
  719. extern long GXGetShapeGlobalViewPorts(gxShape source, gxViewPort list[])
  720.  THREEWORDINLINE(0x303C, 0x19d, 0xA832);
  721. extern gxRectangle *GXGetShapeLocalBounds(gxShape source, gxRectangle *bounds)
  722.  THREEWORDINLINE(0x303C, 0x19e, 0xA832);
  723. /* returns the number of positions */
  724. extern long GXGetShapePatternPositions(gxShape source, gxPoint positions[])
  725.  THREEWORDINLINE(0x303C, 0x19f, 0xA832);
  726. extern void GXGetShapeLocalFontMetrics(gxShape sourceShape, gxPoint *before, gxPoint *after, gxPoint *caretAngle, gxPoint *caretOffset)
  727.  THREEWORDINLINE(0x303C, 0x1a0, 0xA832);
  728. extern void GXGetShapeDeviceFontMetrics(gxShape sourceShape, gxViewPort port, gxViewDevice device, gxPoint *before, gxPoint *after, gxPoint *caretAngle, gxPoint *caretOffset)
  729.  THREEWORDINLINE(0x303C, 0x1a1, 0xA832);
  730. extern long GXGetViewGroupViewDevices(gxViewGroup source, gxViewDevice list[])
  731.  THREEWORDINLINE(0x303C, 0x1a2, 0xA832);
  732. extern long GXGetViewGroupViewPorts(gxViewGroup source, gxViewPort list[])
  733.  THREEWORDINLINE(0x303C, 0x1a3, 0xA832);
  734. extern gxMapping *GXGetViewPortGlobalMapping(gxViewPort source, gxMapping *map)
  735.  THREEWORDINLINE(0x303C, 0x1a4, 0xA832);
  736. extern long GXGetViewPortViewDevices(gxViewPort source, gxViewDevice list[])
  737.  THREEWORDINLINE(0x303C, 0x1a5, 0xA832);
  738. extern gxShape GXHitTestPicture(gxShape target, const gxPoint *test, gxHitTestInfo *result, long level, long depth)
  739.  THREEWORDINLINE(0x303C, 0x1a6, 0xA832);
  740. extern Boolean GXIntersectRectangle(gxRectangle *target, const gxRectangle *source, const gxRectangle *operand)
  741.  THREEWORDINLINE(0x303C, 0x1a7, 0xA832);
  742. extern gxRectangle *GXUnionRectangle(gxRectangle *target, const gxRectangle *source, const gxRectangle *operand)
  743.  THREEWORDINLINE(0x303C, 0x1a8, 0xA832);
  744. extern Boolean GXTouchesRectanglePoint(const gxRectangle *target, const gxPoint *test)
  745.  THREEWORDINLINE(0x303C, 0x1a9, 0xA832);
  746. extern Boolean GXTouchesShape(gxShape target, gxShape test)
  747.  THREEWORDINLINE(0x303C, 0x1aa, 0xA832);
  748. extern Boolean GXTouchesBoundsShape(const gxRectangle *target, gxShape test)
  749.  THREEWORDINLINE(0x303C, 0x1ab, 0xA832);
  750. extern Boolean GXContainsRectangle(const gxRectangle *container, const gxRectangle *test)
  751.  THREEWORDINLINE(0x303C, 0x1ac, 0xA832);
  752. extern Boolean GXContainsShape(gxShape container, gxShape test)
  753.  THREEWORDINLINE(0x303C, 0x1ad, 0xA832);
  754. extern Boolean GXContainsBoundsShape(const gxRectangle *container, gxShape test, long index)
  755.  THREEWORDINLINE(0x303C, 0x1ae, 0xA832);
  756. extern gxColor *GXConvertColor(gxColor *target, gxColorSpace space, gxColorSet aSet, gxColorProfile profile)
  757.  THREEWORDINLINE(0x303C, 0x1af, 0xA832);
  758. extern gxColor *GXCombineColor(gxColor *target, gxInk operand)
  759.  THREEWORDINLINE(0x303C, 0x1b0, 0xA832);
  760. extern Boolean GXCheckColor(const gxColor *source, gxColorSpace space, gxColorSet aSet, gxColorProfile profile)
  761.  THREEWORDINLINE(0x303C, 0x1b1, 0xA832);
  762. extern gxShape GXCheckBitmapColor(gxShape source, const gxLongRectangle *area, gxColorSpace space, gxColorSet aSet, gxColorProfile profile)
  763.  THREEWORDINLINE(0x303C, 0x1b2, 0xA832);
  764. extern Fixed GXGetHalftoneDeviceAngle(gxViewDevice source, const gxHalftone *data)
  765.  THREEWORDINLINE(0x303C, 0x1b3, 0xA832);
  766. extern long GXGetColorSetParts(gxColorSet source, long index, long count, gxColorSpace *space, gxSetColor data[])
  767.  THREEWORDINLINE(0x303C, 0x1b4, 0xA832);
  768. /* returns the glyph count */
  769. extern long GXGetGlyphParts(gxShape source, long index, long charCount, long *byteLength, unsigned char text[], gxPoint positions[], long advanceBits[], gxPoint tangents[], long *runCount, short styleRuns[], gxStyle styles[])
  770.  THREEWORDINLINE(0x303C, 0x1b5, 0xA832);
  771. extern long GXGetPathParts(gxShape source, long index, long count, gxPaths *data)
  772.  THREEWORDINLINE(0x303C, 0x1b6, 0xA832);
  773. extern long GXGetPictureParts(gxShape source, long index, long count, gxShape shapes[], gxStyle styles[], gxInk inks[], gxTransform transforms[])
  774.  THREEWORDINLINE(0x303C, 0x1b7, 0xA832);
  775. extern long GXGetPolygonParts(gxShape source, long index, long count, gxPolygons *data)
  776.  THREEWORDINLINE(0x303C, 0x1b8, 0xA832);
  777. extern gxShape GXGetShapeParts(gxShape source, long index, long count, gxShape destination)
  778.  THREEWORDINLINE(0x303C, 0x1b9, 0xA832);
  779. extern long GXGetTextParts(gxShape source, long index, long charCount, unsigned char text[])
  780.  THREEWORDINLINE(0x303C, 0x1ba, 0xA832);
  781. extern void GXSetColorSetParts(gxColorSet target, long index, long oldCount, long newCount, const gxSetColor data[])
  782.  THREEWORDINLINE(0x303C, 0x1bb, 0xA832);
  783. extern void GXSetGlyphParts(gxShape source, long index, long oldCharCount, long newCharCount, const unsigned char text[], const gxPoint positions[], const long advanceBits[], const gxPoint tangents[], const short styleRuns[], const gxStyle styles[])
  784.  THREEWORDINLINE(0x303C, 0x1bc, 0xA832);
  785. extern void GXSetPathParts(gxShape target, long index, long count, const gxPaths *data, gxEditShapeFlag flags)
  786.  THREEWORDINLINE(0x303C, 0x1bd, 0xA832);
  787. extern void GXSetPictureParts(gxShape target, long index, long oldCount, long newCount, const gxShape shapes[], const gxStyle styles[], const gxInk inks[], const gxTransform transforms[])
  788.  THREEWORDINLINE(0x303C, 0x1be, 0xA832);
  789. extern void GXSetPolygonParts(gxShape target, long index, long count, const gxPolygons *data, gxEditShapeFlag flags)
  790.  THREEWORDINLINE(0x303C, 0x1bf, 0xA832);
  791. extern void GXSetShapeParts(gxShape target, long index, long count, gxShape insert, gxEditShapeFlag flags)
  792.  THREEWORDINLINE(0x303C, 0x1c0, 0xA832);
  793. extern void GXSetTextParts(gxShape target, long index, long oldCharCount, long newCharCount, const unsigned char text[])
  794.  THREEWORDINLINE(0x303C, 0x1c1, 0xA832);
  795. extern long GXGetShapePoints(gxShape source, long index, long count, gxPoint data[])
  796.  THREEWORDINLINE(0x303C, 0x1c2, 0xA832);
  797. extern void GXSetShapePoints(gxShape target, long index, long count, const gxPoint data[])
  798.  THREEWORDINLINE(0x303C, 0x1c3, 0xA832);
  799. extern long GXGetGlyphPositions(gxShape source, long index, long charCount, long advance[], gxPoint positions[])
  800.  THREEWORDINLINE(0x303C, 0x1c4, 0xA832);
  801. extern long GXGetGlyphTangents(gxShape source, long index, long charCount, gxPoint tangents[])
  802.  THREEWORDINLINE(0x303C, 0x1c5, 0xA832);
  803. extern void GXSetGlyphPositions(gxShape target, long index, long charCount, const long advance[], const gxPoint positions[])
  804.  THREEWORDINLINE(0x303C, 0x1c6, 0xA832);
  805. extern void GXSetGlyphTangents(gxShape target, long index, long charCount, const gxPoint tangents[])
  806.  THREEWORDINLINE(0x303C, 0x1c7, 0xA832);
  807. extern long GXGetGlyphMetrics(gxShape source, gxPoint glyphOrigins[], gxRectangle boundingBoxes[], gxPoint sideBearings[])
  808.  THREEWORDINLINE(0x303C, 0x1c8, 0xA832);
  809. extern void GXDifferenceShape(gxShape target, gxShape operand)
  810.  THREEWORDINLINE(0x303C, 0x1c9, 0xA832);
  811. extern void GXExcludeShape(gxShape target, gxShape operand)
  812.  THREEWORDINLINE(0x303C, 0x1ca, 0xA832);
  813. extern void GXIntersectShape(gxShape target, gxShape operand)
  814.  THREEWORDINLINE(0x303C, 0x1cb, 0xA832);
  815. extern void GXMapShape(gxShape target, const gxMapping *map)
  816.  THREEWORDINLINE(0x303C, 0x1cc, 0xA832);
  817. extern void GXMoveShape(gxShape target, Fixed deltaX, Fixed deltaY)
  818.  THREEWORDINLINE(0x303C, 0x1cd, 0xA832);
  819. extern void GXMoveShapeTo(gxShape target, Fixed x, Fixed y)
  820.  THREEWORDINLINE(0x303C, 0x1ce, 0xA832);
  821. extern void GXReverseDifferenceShape(gxShape target, gxShape operand)
  822.  THREEWORDINLINE(0x303C, 0x1cf, 0xA832);
  823. extern void GXRotateShape(gxShape target, Fixed degrees, Fixed xOffset, Fixed yOffset)
  824.  THREEWORDINLINE(0x303C, 0x1d0, 0xA832);
  825. extern void GXScaleShape(gxShape target, Fixed hScale, Fixed vScale, Fixed xOffset, Fixed yOffset)
  826.  THREEWORDINLINE(0x303C, 0x1d1, 0xA832);
  827. extern void GXSkewShape(gxShape target, Fixed xSkew, Fixed ySkew, Fixed xOffset, Fixed yOffset)
  828.  THREEWORDINLINE(0x303C, 0x1d2, 0xA832);
  829. extern void GXUnionShape(gxShape target, gxShape operand)
  830.  THREEWORDINLINE(0x303C, 0x1d3, 0xA832);
  831. extern void GXDifferenceTransform(gxTransform target, gxShape operand)
  832.  THREEWORDINLINE(0x303C, 0x1d4, 0xA832);
  833. extern void GXExcludeTransform(gxTransform target, gxShape operand)
  834.  THREEWORDINLINE(0x303C, 0x1d5, 0xA832);
  835. extern void GXIntersectTransform(gxTransform target, gxShape operand)
  836.  THREEWORDINLINE(0x303C, 0x1d6, 0xA832);
  837. extern void GXMapTransform(gxTransform target, const gxMapping *map)
  838.  THREEWORDINLINE(0x303C, 0x1d7, 0xA832);
  839. extern void GXMoveTransform(gxTransform target, Fixed deltaX, Fixed deltaY)
  840.  THREEWORDINLINE(0x303C, 0x1d8, 0xA832);
  841. extern void GXMoveTransformTo(gxTransform target, Fixed x, Fixed y)
  842.  THREEWORDINLINE(0x303C, 0x1d9, 0xA832);
  843. extern void GXReverseDifferenceTransform(gxTransform target, gxShape operand)
  844.  THREEWORDINLINE(0x303C, 0x1da, 0xA832);
  845. extern void GXRotateTransform(gxTransform target, Fixed degrees, Fixed xOffset, Fixed yOffset)
  846.  THREEWORDINLINE(0x303C, 0x1db, 0xA832);
  847. extern void GXScaleTransform(gxTransform target, Fixed hScale, Fixed vScale, Fixed xOffset, Fixed yOffset)
  848.  THREEWORDINLINE(0x303C, 0x1dc, 0xA832);
  849. extern void GXSkewTransform(gxTransform target, Fixed xSkew, Fixed ySkew, Fixed xOffset, Fixed yOffset)
  850.  THREEWORDINLINE(0x303C, 0x1dd, 0xA832);
  851. extern void GXUnionTransform(gxTransform target, gxShape operand)
  852.  THREEWORDINLINE(0x303C, 0x1de, 0xA832);
  853. extern void GXBreakShape(gxShape target, long index)
  854.  THREEWORDINLINE(0x303C, 0x1df, 0xA832);
  855. extern void GXChangedShape(gxShape target)
  856.  THREEWORDINLINE(0x303C, 0x1e0, 0xA832);
  857. extern gxShapePart GXHitTestShape(gxShape target, const gxPoint *test, gxHitTestInfo *result)
  858.  THREEWORDINLINE(0x303C, 0x1e1, 0xA832);
  859. extern gxShape GXHitTestDevice(gxShape target, gxViewPort port, gxViewDevice device, const gxPoint *test, const gxPoint *tolerance)
  860.  THREEWORDINLINE(0x303C, 0x1e2, 0xA832);
  861. extern void GXInsetShape(gxShape target, Fixed inset)
  862.  THREEWORDINLINE(0x303C, 0x1e3, 0xA832);
  863. extern void GXInvertShape(gxShape target)
  864.  THREEWORDINLINE(0x303C, 0x1e4, 0xA832);
  865. extern void GXPrimitiveShape(gxShape target)
  866.  THREEWORDINLINE(0x303C, 0x1e5, 0xA832);
  867. extern void GXReduceShape(gxShape target, long contour)
  868.  THREEWORDINLINE(0x303C, 0x1e6, 0xA832);
  869. extern void GXReverseShape(gxShape target, long contour)
  870.  THREEWORDINLINE(0x303C, 0x1e7, 0xA832);
  871. extern void GXSimplifyShape(gxShape target)
  872.  THREEWORDINLINE(0x303C, 0x1e8, 0xA832);
  873. extern void GXLockColorProfile(gxColorProfile source)
  874.  THREEWORDINLINE(0x303C, 0x1e9, 0xA832);
  875. extern void GXUnlockColorProfile(gxColorProfile source)
  876.  THREEWORDINLINE(0x303C, 0x1ea, 0xA832);
  877. extern void *GXGetColorProfileStructure(gxColorProfile source, long *length)
  878.  THREEWORDINLINE(0x303C, 0x1eb, 0xA832);
  879. extern void GXFlattenShape(gxShape source, gxFlattenFlag flags, gxSpoolBlock *block)
  880.  THREEWORDINLINE(0x303C, 0x1ec, 0xA832);
  881. extern gxShape GXUnflattenShape(gxSpoolBlock *block, long count, const gxViewPort portList[])
  882.  THREEWORDINLINE(0x303C, 0x1ed, 0xA832);
  883. extern void GXPostGraphicsNotice(gxGraphicsNotice notice)
  884.  THREEWORDINLINE(0x303C, 0x65, 0xA832);
  885. extern void GXIgnoreGraphicsNotice(gxGraphicsNotice notice)
  886.  THREEWORDINLINE(0x303C, 0x6d, 0xA832);
  887. extern void GXPopGraphicsNotice(void)
  888.  THREEWORDINLINE(0x303C, 0x6e, 0xA832);
  889.  
  890. #if defined(__MWERKS__) && GENERATING68K
  891.     #pragma pop
  892. #endif
  893.  
  894. #if PRAGMA_IMPORT_SUPPORTED
  895. #pragma import off
  896. #endif
  897.  
  898. #if PRAGMA_ALIGN_SUPPORTED
  899. #pragma options align=reset
  900. #endif
  901.  
  902. #ifdef __cplusplus
  903. }
  904. #endif
  905.  
  906. #endif /* __GXGRAPHICS__ */
  907.